package Dao;

import Entity.Room;
import java.util.List;

public interface RoomDaoImpl {
    public List<Room> findAllRoom();//返回所有机房
    public Room findByRoomid(String roomid);        //根据机房id返回机房
    public List<Room> findByRoomtype(int roomtype);     // 根据机房类型（硬件或软件）返回机房

    public boolean addRoom(Room room);//添加机房
    public boolean updateRoom(Room room);//修改机房
    public boolean deleteRoom(Room room);//删除机房
}
